<html>
<head>
    <title>this is a title</title>
</head>
<body>
<h1>here upload a file</h1>
<form action="uploadAttach" method="post" enctype="multipart/form-data" >
    choose a file to upload: <input type="file" name="attach" value="choose file .."/> <br>
    <input type="submit" value="submit a file"  >
</form>
</body>
</html>